package com.sundablog.ocp;

import com.sundablog.ocp.service.IShop;
import com.sundablog.ocp.service.impl.RioDiscountShop;
import com.sundablog.ocp.service.impl.RioShop;

import java.util.ArrayList;
import java.util.List;

/**
 * 商店类
 */
public class store {


    //模拟商店卖出商品
    public static void main(String[] args) {
        RioDiscountShop rioDiscountShop = new RioDiscountShop("苹果鸡尾酒",13.5,500);
        System.out.println("原来的价格:"+rioDiscountShop.getOriginPrice()+"打折后的价格:"+rioDiscountShop.getPrice());

    }

}
